<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Objective-C API Reference for iOS/macOS: JCSDKOC/JCSDKOC/JCMediaDevice/JCMediaDeviceVideoCanvas.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Objective-C API Reference for iOS/macOS
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_264cb3eb38195563df8d4ec61e97ef66.html">JCSDKOC</a></li><li class="navelem"><a class="el" href="dir_8909aba9135893f62ff3b0388ad9e7d6.html">JCSDKOC</a></li><li class="navelem"><a class="el" href="dir_e5a22641eb98ea264f23c9facbe8253f.html">JCMediaDevice</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">JCMediaDeviceVideoCanvas.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_j_c_media_device_video_canvas_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  JCMediaDeviceVideoCanvas.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//  JCSDK-OC</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  Created by maikireton on 2017/8/11.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//  Copyright © 2017年 juphoon. All rights reserved.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#import &quot;<a class="code" href="_j_c_media_device_constants_8h.html">JCMediaDeviceConstants.h</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#import &lt;UIKit/UIKit.h&gt;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="_j_c_media_device_video_canvas_8h.html#a8681d2280b42cc393b64f1737ddbb032">   13</a></span>&#160;<span class="preprocessor">#define JCView UIView</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#elif TARGET_OS_MAC</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#import &lt;AppKit/AppKit.h&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#define JCView NSView</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_video_canvas.html">   27</a></span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a> : NSObject</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_video_canvas.html#a6da082189394003d2f5402e8b5f14779">   32</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSString* <a class="code" href="interface_j_c_media_device_video_canvas.html#a6da082189394003d2f5402e8b5f14779">videoSource</a>;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_video_canvas.html#a48d5f5ec9c6d55996351838334701ab4">   37</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly, strong) <a class="code" href="_j_c_media_device_video_canvas_8h.html#a8681d2280b42cc393b64f1737ddbb032">JCView</a>* <a class="code" href="interface_j_c_media_device_video_canvas.html#a48d5f5ec9c6d55996351838334701ab4">videoView</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_video_canvas.html#ab20be33ca0798f15c1e28cd0bbf45277">   42</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) <a class="code" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga22a1fb216a9252ce2ef1afb257e530f2">JCMediaDeviceRender</a> <a class="code" href="interface_j_c_media_device_video_canvas.html#ab20be33ca0798f15c1e28cd0bbf45277">renderType</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_video_canvas.html#a243d426941c3b920068e7b6149678a32">   47</a></span>&#160;<span class="keyword">@property</span> (nonatomic) <span class="keywordtype">id</span> <a class="code" href="interface_j_c_media_device_video_canvas.html#aa2dc32fcae1308ce635263184f64803a">customData</a>;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;-(bool)replace:(NSString*)videoSource;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;-(void)<a class="code" href="interface_j_c_media_device_video_canvas.html#a39507efa59a73638c5965b09fa5c65d7">pause</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;-(void)<a class="code" href="interface_j_c_media_device_video_canvas.html#a79828ae1f7fcd7a3c0a0bf4dec2c26bc">resume</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;-(void)rotate:(<span class="keywordtype">int</span>)angle;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;-(bool)snapshot:(<span class="keywordtype">int</span>)width heigh:(<span class="keywordtype">int</span>)height filePath:(NSString*)filePath;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">@end</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="ainterface_j_c_media_device_video_canvas_html_a79828ae1f7fcd7a3c0a0bf4dec2c26bc"><div class="ttname"><a href="interface_j_c_media_device_video_canvas.html#a79828ae1f7fcd7a3c0a0bf4dec2c26bc">-[JCMediaDeviceVideoCanvas resume]</a></div><div class="ttdeci">void resume()</div></div>
<div class="ttc" id="a_j_c_media_device_constants_8h_html"><div class="ttname"><a href="_j_c_media_device_constants_8h.html">JCMediaDeviceConstants.h</a></div></div>
<div class="ttc" id="a_j_c_media_device_video_canvas_8h_html_a8681d2280b42cc393b64f1737ddbb032"><div class="ttname"><a href="_j_c_media_device_video_canvas_8h.html#a8681d2280b42cc393b64f1737ddbb032">JCView</a></div><div class="ttdeci">#define JCView</div><div class="ttdef"><b>Definition:</b> JCMediaDeviceVideoCanvas.h:13</div></div>
<div class="ttc" id="ainterface_j_c_media_device_video_canvas_html_a6da082189394003d2f5402e8b5f14779"><div class="ttname"><a href="interface_j_c_media_device_video_canvas.html#a6da082189394003d2f5402e8b5f14779">JCMediaDeviceVideoCanvas::videoSource</a></div><div class="ttdeci">NSString * videoSource</div><div class="ttdef"><b>Definition:</b> JCMediaDeviceVideoCanvas.h:32</div></div>
<div class="ttc" id="ainterface_j_c_media_device_video_canvas_html_a48d5f5ec9c6d55996351838334701ab4"><div class="ttname"><a href="interface_j_c_media_device_video_canvas.html#a48d5f5ec9c6d55996351838334701ab4">JCMediaDeviceVideoCanvas::videoView</a></div><div class="ttdeci">JCView * videoView</div><div class="ttdef"><b>Definition:</b> JCMediaDeviceVideoCanvas.h:37</div></div>
<div class="ttc" id="agroup___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97_html_ga22a1fb216a9252ce2ef1afb257e530f2"><div class="ttname"><a href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga22a1fb216a9252ce2ef1afb257e530f2">JCMediaDeviceRender</a></div><div class="ttdeci">JCMediaDeviceRender</div><div class="ttdef"><b>Definition:</b> JCMediaDeviceConstants.h:33</div></div>
<div class="ttc" id="ainterface_j_c_media_device_video_canvas_html_ab20be33ca0798f15c1e28cd0bbf45277"><div class="ttname"><a href="interface_j_c_media_device_video_canvas.html#ab20be33ca0798f15c1e28cd0bbf45277">JCMediaDeviceVideoCanvas::renderType</a></div><div class="ttdeci">JCMediaDeviceRender renderType</div><div class="ttdef"><b>Definition:</b> JCMediaDeviceVideoCanvas.h:42</div></div>
<div class="ttc" id="ainterface_j_c_media_device_video_canvas_html_aa2dc32fcae1308ce635263184f64803a"><div class="ttname"><a href="interface_j_c_media_device_video_canvas.html#aa2dc32fcae1308ce635263184f64803a">JCMediaDeviceVideoCanvas::customData</a></div><div class="ttdeci">id customData</div><div class="ttdef"><b>Definition:</b> JCMediaDeviceVideoCanvas.h:47</div></div>
<div class="ttc" id="ainterface_j_c_media_device_video_canvas_html"><div class="ttname"><a href="interface_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a></div><div class="ttdef"><b>Definition:</b> JCMediaDeviceVideoCanvas.h:28</div></div>
<div class="ttc" id="ainterface_j_c_media_device_video_canvas_html_a39507efa59a73638c5965b09fa5c65d7"><div class="ttname"><a href="interface_j_c_media_device_video_canvas.html#a39507efa59a73638c5965b09fa5c65d7">-[JCMediaDeviceVideoCanvas pause]</a></div><div class="ttdeci">void pause()</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
